package com.filldream.fastboot.core.mq;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @ClassName Consumer
 * @Description Mq消费者
 * @Author RickSun && iFillDream
 * @Date 2020/1/16 15:00
 * @Version 1.0
 */
@Slf4j
@Service
public class Consumer {

    /**
        you can @Autowired something to here
     */

    @JmsListener(destination =Mq_QUEUQ.TAG)
    public void orderAutoCancel(String content) {
        log.info("*************正在执行Mq*************" + content);
        return;
    }




}